import { H2oNotice } from "../../utils/bo"
import { dao } from "../../utils/repository"

// Component/ad/ad.ts
Component({
  behaviors: ['wx://component-export'],
  options: {styleIsolation: 'apply-shared'},
  data: {
    botMsg:'下拉刷新',
    noticeList:new Array<H2oNotice>()
  },
  lifetimes: {
    attached(){
      this.setData({noticeList:dao.getNotice()})
    }
  },
  methods:{
    onScroll(_e:any){
    }
  }
})